package com.laycoding.layrpc.entity;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "layrpc", ignoreUnknownFields = true)
@Data
public class LayRpcProperties {

    private String zookeeper;

    private String path;

    private String serviceName;

    private String basePackage;

    private Integer serverPort;
}
